package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

/**
 * @program: crm
 * @description:
 * @author: Mr.chen
 * @create: 2018-07-07 23:16
 **/
@Setter
@Getter
public class QueryObject {
    private int page = 1;
    private int rows = 15;
    public int getStartIndex(){
        return (page-1)*rows;
    }
}
